<form id="scform" method="{if $_G[fid] && !empty($searchparams[url])}get{else}post{/if}" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="{if $_G[fid] && !empty($searchparams[url])}$searchparams[url]{else}search.php?searchsubmit=yes{/if}" target="_blank">
	<input type="hidden" name="formhash" value="{FORMHASH}"/>
	<input type="hidden" name="mod" value="forum">
	<input type="hidden" name="srchfid[]" value="88">
	<input type="text" name="srchtxt" id="srchtxt" class="px z" autocomplete="off" onblur="if (value ==''){value='请输入搜索关键词'}" onfocus="if (value =='请输入搜索关键词'){value =''}" value="请输入搜索关键词">
	<button id="search_submit" name="searchsubmit" type="submit" value="true">&nbsp;&nbsp;&nbsp;&nbsp;</button>
</form>

<!--{if $_G['setting']['search'] && $slist}-->
<form id="scbar_form" method="{if $_G[fid] && !empty($searchparams[url])}get{else}post{/if}" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="{if $_G[fid] && !empty($searchparams[url])}$searchparams[url]{else}search.php?searchsubmit=yes{/if}" target="_blank">
			<input type="hidden" name="mod" id="comiis_twtsc_mod" value="search"/>
			<input type="hidden" name="formhash" value="{FORMHASH}"/>
			<input type="hidden" name="srchtype" value="title"/>
			<input type="hidden" name="srhfid" value="$_G[fid]"/>
			<input type="hidden" name="srhlocality" value="$_G['basescript']::{CURMODULE}"/>
		<!--{if !empty($searchparams[params])}-->
			<!--{loop $searchparams[params] $key $value}-->
			<!--{eval $srchotquery .= '&' . $key . '=' . rawurlencode($value);}-->
			<input type="hidden" name="$key" value="$value" />
			<!--{/loop}-->
			<input type="hidden" name="source" value="discuz" />
			<input type="hidden" name="fId" id="srchFId" value="$_G[fid]" />
			<input type="hidden" name="q" id="cloudsearchquery" value="" />
			<style>
			#scbar { overflow: visible; position: relative; }
			#sg{ background: #FFF; width:456px; border: 1px solid #B2C7DA; }
			.scbar_narrow #sg { width: 316px; }
			#sg li { padding:0 8px; line-height:30px; font-size:14px; }
			#sg li span { color:#999; }
			.sml { background:#FFF; cursor:default; }
			.smo { background:#E5EDF2; cursor:default; }
            </style>
            <div style="display: none; position: absolute; top:37px; left:44px;" id="sg">
                <div id="st_box" cellpadding="2" cellspacing="0"></div>
            </div>
		<!--{/if}-->
			<table cellspacing="0" cellpadding="0">
				<tbody>
					<tr>
						<td class="comiis_twtsc_icon"></td>
						<td class="comiis_twtsc_txt">
							<input type="text" name="srchtxt" id="comiis_twtsc_txt" value="{lang enter_content}" autocomplete="off" x-webkit-speech speech />
						</td>
						<td class="comiis_twtsc_type">
							<a href="javascript:;" id="comiis_twtsc_type" class="showmenu xg1 xs2" onclick="showMenu(this.id)" hidefocus="true" initialized="true">{lang search}</a>
						</td>
						<td class="comiis_twtsc_btn">
							<button type="submit" name="searchsubmit" id="comiis_twtsc_btn" sc="1" class="pn pnc" value="true">&nbsp;&nbsp;</button>
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
<ul id="comiis_twtsc_type_menu" class="p_pop" style="display: none;" disautofocus="disautofocus"><!--{echo implode('', $slist);}--></ul>
	<script type="text/javascript">
		initSearchmenu('comiis_twtsc', '');
	</script>
</div>
<!--{/if}-->

